Optimal. Leaf size=92 \[ -\frac{b^2 (c+d x)^6 (b c-a d)}{2 d^4}+\frac{3 b (c+d x)^5 (b c-a d)^2}{5 d^4}-\frac{(c+d x)^4 (b c-a d)^3}{4 d^4}+\frac{b^3 (c+d x)^7}{7 d^4} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.259548, antiderivative size = 92, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095 \[ -\frac{b^2 (c+d x)^6 (b c-a d)}{2 d^4}+\frac{3 b (c+d x)^5 (b c-a d)^2}{5 d^4}-\frac{(c+d x)^4 (b c-a d)^3}{4 d^4}+\frac{b^3 (c+d x)^7}{7 d^4} \]
Antiderivative was successfully verified.
[In] Int[(a*c + (b*c + a*d)*x + b*d*x^2)^3,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ 3 a^{2} c^{2} \left (a d + b c\right ) \int x\, dx + a c x^{3} \left (a^{2} d^{2} + 3 a b c d + b^{2} c^{2}\right ) + \frac{b^{3} d^{3} x^{7}}{7} + \frac{b^{2} d^{2} x^{6} \left (a d + b c\right )}{2} + \frac{3 b d x^{5} \left (a^{2} d^{2} + 3 a b c d + b^{2} c^{2}\right )}{5} + c^{3} \int a^{3}\, dx + \frac{x^{4} \left (a d + b c\right ) \left (a^{2} d^{2} + 8 a b c d + b^{2} c^{2}\right )}{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((a*c+(a*d+b*c)*x+b*d*x**2)**3,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0411127, size = 161, normalized size = 1.75 \[ a^3 c^3 x+\frac{3}{5} b d x^5 \left (a^2 d^2+3 a b c d+b^2 c^2\right )+a c x^3 \left (a^2 d^2+3 a b c d+b^2 c^2\right )+\frac{3}{2} a^2 c^2 x^2 (a d+b c)+\frac{1}{4} x^4 \left (a^3 d^3+9 a^2 b c d^2+9 a b^2 c^2 d+b^3 c^3\right )+\frac{1}{2} b^2 d^2 x^6 (a d+b c)+\frac{1}{7} b^3 d^3 x^7 \]
Antiderivative was successfully verified.
[In] Integrate[(a*c + (b*c + a*d)*x + b*d*x^2)^3,x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0., size = 194, normalized size = 2.1 \[{\frac{{b}^{3}{d}^{3}{x}^{7}}{7}}+{\frac{ \left ( ad+bc \right ){b}^{2}{d}^{2}{x}^{6}}{2}}+{\frac{ \left ( a{b}^{2}c{d}^{2}+2\, \left ( ad+bc \right ) ^{2}bd+bd \left ( 2\,cabd+ \left ( ad+bc \right ) ^{2} \right ) \right ){x}^{5}}{5}}+{\frac{ \left ( 4\,ac \left ( ad+bc \right ) bd+ \left ( ad+bc \right ) \left ( 2\,cabd+ \left ( ad+bc \right ) ^{2} \right ) \right ){x}^{4}}{4}}+{\frac{ \left ( ac \left ( 2\,cabd+ \left ( ad+bc \right ) ^{2} \right ) +2\, \left ( ad+bc \right ) ^{2}ac+{a}^{2}b{c}^{2}d \right ){x}^{3}}{3}}+{\frac{3\,{a}^{2}{c}^{2} \left ( ad+bc \right ){x}^{2}}{2}}+{a}^{3}{c}^{3}x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((a*c+(a*d+b*c)*x+x^2*b*d)^3,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.734374, size = 189, normalized size = 2.05 \[ \frac{1}{7} \, b^{3} d^{3} x^{7} + \frac{1}{2} \,{\left (b c + a d\right )} b^{2} d^{2} x^{6} + \frac{3}{5} \,{\left (b c + a d\right )}^{2} b d x^{5} + a^{3} c^{3} x + \frac{1}{4} \,{\left (b c + a d\right )}^{3} x^{4} + \frac{1}{2} \,{\left (2 \, b d x^{3} + 3 \,{\left (b c + a d\right )} x^{2}\right )} a^{2} c^{2} + \frac{1}{10} \,{\left (6 \, b^{2} d^{2} x^{5} + 15 \,{\left (b c + a d\right )} b d x^{4} + 10 \,{\left (b c + a d\right )}^{2} x^{3}\right )} a c \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*d*x^2 + a*c + (b*c + a*d)*x)^3,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.179633, size = 1, normalized size = 0.01 \[ \frac{1}{7} x^{7} d^{3} b^{3} + \frac{1}{2} x^{6} d^{2} c b^{3} + \frac{1}{2} x^{6} d^{3} b^{2} a + \frac{3}{5} x^{5} d c^{2} b^{3} + \frac{9}{5} x^{5} d^{2} c b^{2} a + \frac{3}{5} x^{5} d^{3} b a^{2} + \frac{1}{4} x^{4} c^{3} b^{3} + \frac{9}{4} x^{4} d c^{2} b^{2} a + \frac{9}{4} x^{4} d^{2} c b a^{2} + \frac{1}{4} x^{4} d^{3} a^{3} + x^{3} c^{3} b^{2} a + 3 x^{3} d c^{2} b a^{2} + x^{3} d^{2} c a^{3} + \frac{3}{2} x^{2} c^{3} b a^{2} + \frac{3}{2} x^{2} d c^{2} a^{3} + x c^{3} a^{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*d*x^2 + a*c + (b*c + a*d)*x)^3,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.221438, size = 190, normalized size = 2.07 \[ a^{3} c^{3} x + \frac{b^{3} d^{3} x^{7}}{7} + x^{6} \left (\frac{a b^{2} d^{3}}{2} + \frac{b^{3} c d^{2}}{2}\right ) + x^{5} \left (\frac{3 a^{2} b d^{3}}{5} + \frac{9 a b^{2} c d^{2}}{5} + \frac{3 b^{3} c^{2} d}{5}\right ) + x^{4} \left (\frac{a^{3} d^{3}}{4} + \frac{9 a^{2} b c d^{2}}{4} + \frac{9 a b^{2} c^{2} d}{4} + \frac{b^{3} c^{3}}{4}\right ) + x^{3} \left (a^{3} c d^{2} + 3 a^{2} b c^{2} d + a b^{2} c^{3}\right ) + x^{2} \left (\frac{3 a^{3} c^{2} d}{2} + \frac{3 a^{2} b c^{3}}{2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a*c+(a*d+b*c)*x+b*d*x**2)**3,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.207278, size = 254, normalized size = 2.76 \[ \frac{1}{7} \, b^{3} d^{3} x^{7} + \frac{1}{2} \, b^{3} c d^{2} x^{6} + \frac{1}{2} \, a b^{2} d^{3} x^{6} + \frac{3}{5} \, b^{3} c^{2} d x^{5} + \frac{9}{5} \, a b^{2} c d^{2} x^{5} + \frac{3}{5} \, a^{2} b d^{3} x^{5} + \frac{1}{4} \, b^{3} c^{3} x^{4} + \frac{9}{4} \, a b^{2} c^{2} d x^{4} + \frac{9}{4} \, a^{2} b c d^{2} x^{4} + \frac{1}{4} \, a^{3} d^{3} x^{4} + a b^{2} c^{3} x^{3} + 3 \, a^{2} b c^{2} d x^{3} + a^{3} c d^{2} x^{3} + \frac{3}{2} \, a^{2} b c^{3} x^{2} + \frac{3}{2} \, a^{3} c^{2} d x^{2} + a^{3} c^{3} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*d*x^2 + a*c + (b*c + a*d)*x)^3,x, algorithm="giac")
[Out]